package com.gonsin.gview.common.auth;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel("token 结构")
@Data
public class TokenBo {

    @ApiModelProperty("token 内容")
    private String token;

    @ApiModelProperty("过期时间")
    private long expiredTime;

    public TokenBo(String token, long expiredTime) {
        this.token = token;
        this.expiredTime = expiredTime;
    }
}
